package com.hnguigu.health.pojo;

import java.io.Serializable;
import java.util.Date;

public class TMenu implements Serializable {
    private Integer id;

    private String name;

    private String linkurl;

    private String path;

    private Integer priority;

    private String icon;

    private String description;

    private Integer parentmenuid;

    private Integer level;

    private Integer status;

    private Date createtime;

    private Date updatetime;


    private TRoleMenu roleMenu;

    private TRole role;


    private TUser tUser;

    private TUserRole tUserRole;

    public TUser gettUser() {
        return tUser;
    }

    public void settUser(TUser tUser) {
        this.tUser = tUser;
    }

    @Override
    public String toString() {
        return "TMenu{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", linkurl='" + linkurl + '\'' +
                ", path='" + path + '\'' +
                ", priority=" + priority +
                ", icon='" + icon + '\'' +
                ", description='" + description + '\'' +
                ", parentmenuid=" + parentmenuid +
                ", level=" + level +
                ", status=" + status +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", roleMenu=" + roleMenu +
                ", role=" + role +
                ", tUser=" + tUser +
                ", tUserRole=" + tUserRole +
                '}';
    }

    public TUserRole gettUserRole() {
        return tUserRole;
    }

    public void settUserRole(TUserRole tUserRole) {
        this.tUserRole = tUserRole;
    }

    public TRoleMenu getRoleMenu() {
        return roleMenu;
    }

    public void setRoleMenu(TRoleMenu roleMenu) {
        this.roleMenu = roleMenu;
    }

    public TRole getRole() {
        return role;
    }

    public void setRole(TRole role) {
        this.role = role;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getLinkurl() {
        return linkurl;
    }

    public void setLinkurl(String linkurl) {
        this.linkurl = linkurl == null ? null : linkurl.trim();
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getParentmenuid() {
        return parentmenuid;
    }

    public void setParentmenuid(Integer parentmenuid) {
        this.parentmenuid = parentmenuid;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}